package org.javaboy.shiro.service;

import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.javaboy.shiro.anno.MyPerms;
import org.springframework.stereotype.Service;

@Service
public class BookService {
//    @RequiresPermissions(value = "book:create")
    @MyPerms("book:create")
    public String create() {
        return "book create";
    }
}
